
package com.idealighter.game.roomcard.games.mustniuniu.message;

import com.baidu.bjf.remoting.protobuf.FieldType;
import com.baidu.bjf.remoting.protobuf.annotation.Protobuf;

import com.idealighter.game.core.annotation.ResMsg;
import com.idealighter.game.message.ModuleMsgIdConstant;
import com.idealighter.game.message.core.ResMessage;

import java.util.ArrayList;
import java.util.List;

import lombok.Data;

/**
 * 发牌 .
 *
 */
@ResMsg(ModuleMsgIdConstant.MustNiuNiu.RES_DEAL_CARDS)
@Data
public class ResDealCardsMsg implements ResMessage {
  @Protobuf(order = 1)
  private int id = ModuleMsgIdConstant.MustNiuNiu.RES_DEAL_CARDS;
  // 玩家的牌，已经是最优牌型(3+2)
  @Protobuf(fieldType = FieldType.INT32, order = 2)
  private List<Integer> cards = new ArrayList<>();
  @Protobuf(fieldType = FieldType.INT32, order = 3)
  private List<Integer> bestCards = new ArrayList<>();
  // 牌型(0:没牛，1-10:牛1到牛牛,四花:11,四炸:12,五花:13,五小:14)
  @Protobuf(order = 4)
  private int cardsType;
}
